<?php
	function get_radios(){
		global $MPD;

		$html = '';

		// display list
		$html .= '<div id="radios_list">';
		foreach ($MPD->radios as $name=>$url) {
			$selected="radio_unselected";
			$html .= '<div class="'.$selected.'" onclick="javascript:play_radio(\''.$name.'\')">';
			$html .= '<img src="./logos/'.$name.'.png" />';
			$html .= '</div>';
		}
		
		$html .= '</div>';
		return $html;
	}
?>